package com.vaadin.tutorial.crm.security;/**
 * @author: fan
 * @date: 2021/1/28 22:54
 **/

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 *
 *
 *@Description:
 *@Author: Fan
 *@Date: 2021/1/28 22:54
 @Version 1.0
 *
 */
public class TestPassword {
    public static void main(String[] args){
        System.out.println(bCryptPasswordEncoder().encode("test"));
    }

    public static BCryptPasswordEncoder bCryptPasswordEncoder(){
        return new BCryptPasswordEncoder();
    }
}
